package com.itheima.d2_reflect_framework;

public class Student {
    private  int age;
    private  String sex;
    private  String name;
    private  String ClassName;

    public int getAge() {
        return age;
    }

    public Student() {
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassName() {
        return ClassName;
    }

    public void setClassName(String className) {
        ClassName = className;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public Student(int age, String sex, String name, String className, String hobby) {
        this.age = age;
        this.sex = sex;
        this.name = name;
        ClassName = className;
        this.hobby = hobby;
    }

    private  String hobby;

}
